package com.xxpt.model.sys;

import java.io.Serializable;
import java.util.Date;

/**
 * SysUser
 * @Author 思想天下 - liuxl - 2020/02/18 14:20
 */
public class SysUser implements Serializable {

    /**
     * 唯一标识 
     */
    private Integer userId;	
    /**
     * 登录账号 
     */
    private String account;	
    /**
     * 密码 
     */
    private String password;	
    /**
     * 加密盐 
     */
    private String salt;	
    /**
     * 姓名 
     */
    private String name;	
    /**
     * 角色id 
     */
    private Integer roleId;	
    /**
     * 用户状态（状态 0:可用 1：停用 2：锁定） 
     */
    private Integer status;	
    /**
     * 最后登录时间 
     */
    private Date lastLogin;	
    /**
     * 登录ip 
     */
    private String ip;	
    /**
     * 创建人 
     */
    private Integer addUid;	
    /**
     * 创建时间 
     */
    private Date addTime;	
    /**
     * 修改人 
     */
    private Integer modifyUid;	
    /**
     * 修改时间 
     */
    private Date modifyTime;	
    /**
     * 备注 
     */
    private String remark;	


    public SysUser setUserId(Integer userId){
        this.userId = userId;
        return this;
    }	

    public Integer getUserId(){
        return this.userId;
    }	

    public SysUser setAccount(String account){
        this.account = account;
        return this;
    }	

    public String getAccount(){
        return this.account;
    }	

    public SysUser setPassword(String password){
        this.password = password;
        return this;
    }	

    public String getPassword(){
        return this.password;
    }	

    public SysUser setSalt(String salt){
        this.salt = salt;
        return this;
    }	

    public String getSalt(){
        return this.salt;
    }	

    public SysUser setName(String name){
        this.name = name;
        return this;
    }	

    public String getName(){
        return this.name;
    }	

    public SysUser setRoleId(Integer roleId){
        this.roleId = roleId;
        return this;
    }	

    public Integer getRoleId(){
        return this.roleId;
    }	

    public SysUser setStatus(Integer status){
        this.status = status;
        return this;
    }	

    public Integer getStatus(){
        return this.status;
    }	

    public SysUser setLastLogin(Date lastLogin){
        this.lastLogin = lastLogin;
        return this;
    }	

    public Date getLastLogin(){
        return this.lastLogin;
    }	

    public SysUser setIp(String ip){
        this.ip = ip;
        return this;
    }	

    public String getIp(){
        return this.ip;
    }	

    public SysUser setAddUid(Integer addUid){
        this.addUid = addUid;
        return this;
    }	

    public Integer getAddUid(){
        return this.addUid;
    }	

    public SysUser setAddTime(Date addTime){
        this.addTime = addTime;
        return this;
    }	

    public Date getAddTime(){
        return this.addTime;
    }	

    public SysUser setModifyUid(Integer modifyUid){
        this.modifyUid = modifyUid;
        return this;
    }	

    public Integer getModifyUid(){
        return this.modifyUid;
    }	

    public SysUser setModifyTime(Date modifyTime){
        this.modifyTime = modifyTime;
        return this;
    }	

    public Date getModifyTime(){
        return this.modifyTime;
    }	

    public SysUser setRemark(String remark){
        this.remark = remark;
        return this;
    }	

    public String getRemark(){
        return this.remark;
    }	



	@Override
    public String toString() {
        return "{" +
				"userId:" + userId + "" +
				" , account:" + account + "" +
				" , password:" + password + "" +
				" , salt:" + salt + "" +
				" , name:" + name + "" +
				" , roleId:" + roleId + "" +
				" , status:" + status + "" +
				" , lastLogin:" + lastLogin + "" +
				" , ip:" + ip + "" +
				" , addUid:" + addUid + "" +
				" , addTime:" + addTime + "" +
				" , modifyUid:" + modifyUid + "" +
				" , modifyTime:" + modifyTime + "" +
				" , remark:" + remark + "" +
               '}';
    }
}
